package Demo2;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 32585
 * Date: 2024-10-06
 * Time: 111
 */
public class Test {

    public static void func(IShape s){
        s.test();
    }
    public static void main(String[] args) {
        IShape s1=new Cycle();
        func(s1);
    }
}
